package grpc

import (
	"calculate_server/internal/services"
	common "jihe.common"
	api "jihe.common/protos/calculate_server"
)

type Server struct {
	Pgsql            common.Pgsql
	Redis            common.Redis
	AlgorithmService services.AlgorithmService
}

func init() {
	go api.GrpcServer(&Server{})
}
